local extension = Package:new("plum_blossom")
extension.extensionName = "tuntian_studio"

extension:loadSkillSkelsByPath("./packages/tuntian_studio/pkg/plum_blossom/skills")
local sp = { "yuming_choose", "niebo_luanji", "shuangjian_derive"}
for _, s in ipairs(sp) do
  extension:loadSkillSkels { require("packages/tuntian_studio/pkg/plum_blossom/special_skills/" .. s) }
end

if not Fk.skills["ol_ex__jushou"] then
  extension:loadSkillSkels{ require "packages/tuntian_studio/pkg/plum_blossom/special_skills/jushou" }
end

Fk:loadTranslationTable{
  ["plum_blossom"] = "梅花三弄",
  ["plum"] = "梅花三弄",
  ["jin"] = "晋",
}

General:new(extension, "plum__jingfang", "han", 3):addSkills { "plum__anjie", "plum__najia", "plum__jijuan" }
Fk:loadTranslationTable{
  ["plum__jingfang"] = "京房",
  ["#plum__jingfang"] = "陈商全律",
  ["illustrator:plum__jingfang"] = "率土之滨",
  ["designer:plum__jingfang"] = "屑",
  ["cv:plum__jingfang"] = "易大剧",

  ["~plum__jingfang"] = "人可欺，天不可欺！",
}

General:new(extension, "plum__huanyi", "jin", 3):addSkills { "plum__nongdi", "plum__puyun" }
Fk:loadTranslationTable{
  ["plum__huanyi"] = "桓伊",
  ["#plum__huanyi"] = "梅花三弄",
  ["illustrator:plum__huanyi"] = "久吉-FG",
  ["designer:plum__huanyi"] = "食马者",
}

General:new(extension, "plum__wzhoutai", "wei", 4):addSkills { "plum__xuandai", "plum__jubing" }
Fk:loadTranslationTable{
  ["plum__wzhoutai"] = "州泰",
  ["#plum__wzhoutai"] = "解褐拥麾",
  ["illustrator:plum__wzhoutai"] = "率土之滨",
  ["designer:plum__wzhoutai"] = "妖&淼龙",
  ["cv:plum__wzhoutai"] = "始祖鸟",

  ["~plum__wzhoutai"] = "悬榻在望，寸心难报，唯余死战。",
}

General:new(extension, "plum__lifu", "wei", 4):addSkills { "plum__xiwei", "plum__canxu" }
Fk:loadTranslationTable{
  ["plum__lifu"] = "李孚",
  ["#plum__lifu"] = "委身幅重",
  ["illustrator:plum__lifu"] = "率土之滨",
  ["designer:plum__lifu"] = "Mushi",
}

General:new(extension, "plum__liuyans", "shu", 3):addSkills { "plum__shuyu", "plum__jishu" }
Fk:loadTranslationTable{
  ["plum__liuyans"] = "刘琰",
  ["#plum__liuyans"] = "玄醴绯颜",
  ["illustrator:plum__liuyans"] = "谋定天下",
  ["designer:plum__liuyans"] = "圣园未花",
}

General:new(extension, "plum__lihui", "shu", 3):addSkillsAndRealtedSkills({ "plum__liquan", "plum__xishi" }, { "plum__weizhu" })
Fk:loadTranslationTable{
  ["plum__lihui"] = "李恢",
  ["#plum__lihui"] = "叙业成肱",
  ["illustrator:plum__lihui"] = "啪啪三国",
  ["designer:plum__lihui"] = "拉普拉斯",
}

General:new(extension, "plum__wanyu", "wu", 3):addSkills{ "plum__banhu", "plum__jiliao" }
Fk:loadTranslationTable{
  ["plum__wanyu"] = "万彧",
  ["#plum__wanyu"] = "忧拂尊罍",
  ["illustrator:plum__wanyu"] = "鸿图之下",
  ["designer:plum__wanyu"] = "静谦",
  ["cv:plum__wanyu"] = "静谦",

  ["~plum__wanyu"] = "履虎尾者，言其危也……",
}

General:new(extension, "plum__qindan", "wu", 3):addSkills{ "plum__weihuan", "plum__liucang" }
Fk:loadTranslationTable{
  ["plum__qindan"] = "秦旦",
  ["#plum__qindan"] = "燎亡北流",
  ["illustrator:plum__qindan"] = "xiaomartin",
  ["designer:plum__qindan"] = "yyuaN",
  ["cv:plum__qindan"] = "胖即是胖",

  ["~plum__qindan"] = "吾不幸创甚，死亡无日……",
}

General:new(extension, "plum__wangkuang", "qun", 4):addSkills{ "plum__qiaoge", "plum__liancheng" }
Fk:loadTranslationTable{
  ["plum__wangkuang"] = "王匡",
  ["#plum__wangkuang"] = "叱咤喑呜",
  ["illustrator:plum__wangkuang"] = "啪啪三国",
  ["designer:plum__wangkuang"] = "屑",
}

General:new(extension, "plum__yuwanghou", "qun", 3, 3, General.Female):addSkills{ "plum__midang", "plum__tunquan" }
Fk:loadTranslationTable{
  ["plum__yuwanghou"] = "于王后",
  ["#plum__yuwanghou"] = "月懸高麗",
  ["illustrator:plum__yuwanghou"] = "啪啪三国",
  ["designer:plum__yuwanghou"] = "白驹",
}

--- update on 2025/11/06

Fk:loadTranslationTable{
  ["plum__wuban"] = "吴班",
  ["#plum__wuban"] = "万军辟易",
  ["illustrator:plum__wuban"] = "蚂蚁君",
  ["designer:plum__wuban"] = "小芹",

  ["plum__huangtianxiang"] = "黄天祥",
  ["#plum__huangtianxiang"] = "悉备神厨",
  ["illustrator:plum__huangtianxiang"] = "微笑",
  ["designer:plum__huangtianxiang"] = "CYC",

  ["plum__zhuju"] = "朱据",
  ["#plum__zhuju"] = "困踬屯邅",
  ["illustrator:plum__zhuju"] = "微笑",
  ["designer:plum__zhuju"] = "拉",

  ["plum__zhujusunluyu"] = "朱据孙鲁育",
  ["#plum__zhujusunluyu"] = "虎俪",
  ["illustrator:plum__zhujusunluyu"] = "微笑",
  ["designer:plum__zhujusunluyu"] = "夜已央",

  ["plum__weizhongbichen"] = "魏种毕谌",
  ["#plum__weizhongbichen"] = "白圭之玷",
  ["designer:plum__weizhongbichen"] = "胖即是胖",
  ["illustrator:plum__weizhongbichen"] = "微笑",
}

General:new(extension, "plum__wuban", "shu", 4, 4, General.Male):addSkill("plum__lianjie")
General:new(extension, "plum__huangtianxiang", "shu", 4, 4, General.Male):addSkill("plum__yuzhi")
General:new(extension, "plum__zhuju", "wu", 3, 3, General.Male):addSkills{"plum__yuming", "plum__niebo"}
General:new(extension, "plum__zhujusunluyu", "wu", 4, 4, General.Bigender):addSkills{"plum__xiejie", "plum__shuangjian"}
General:new(extension, "plum__weizhongbichen", "wei", 3, 3, General.Male):addSkills{"plum__fuxin", "plum__zaichen"}

return extension
